projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e8cdca
)
* Fix usage of cl-destructuring-bind in package--delete-directory.
author
Nicolás Bértolo
<nicolasbertolo@gmail.com>
Mon, 8 Jun 2020 23:47:06 +0000
(20:47 -0300)
committer
Andrea Corallo
<andcor03@e112547.nice.arm.com>
Tue, 9 Jun 2020 13:59:15 +0000
(15:59 +0200)
* lisp/emacs-lisp/package.el (package--delete-directory): Fix usage of
cl-destructuring-bind.
lisp/emacs-lisp/package.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/package.el
b/lisp/emacs-lisp/package.el
index 904fc9e1094c0ac2fce7bbd85fe2c578c23b4ea7..0171fd56ffd83f54f01166308abc6b04ef9c69c5 100644
(file)
--- a/
lisp/emacs-lisp/package.el
+++ b/
lisp/emacs-lisp/package.el
@@
-2215,7
+2215,7
@@
to `package-user-dir'."
(condition-case err
(delete-directory dir t)
(file-error
- (cl-destructuring-bind (reason1 reason2 filename) err
+ (cl-destructuring-bind (
_
reason1 reason2 filename) err
(if (and (string= "Removing old name" reason1)
(string= "Permission denied" reason2)
(string-prefix-p (expand-file-name package-user-dir)